package xuexi;


class change{
    public  void getInfo(){
        System.out.println("**************hha*************");
    }
}
class son extends change{
    @Override
    public void getInfo(){
        System.out.println("子类复写成功!");
    }
}
public class zhujiefuxie {
    public  static void main(String[] args){
            new son().getInfo();
    }

}
